import { Button, Empty } from "antd";
import React, { useContext, useEffect } from "react";
import useStore from "../../../core/useStore";

const Preview = ({ children, ...props }) => {
 const {store} =  useStore()
   useEffect(()=>{
console.log('storestore',store)
   },[store])
  return <Button {...props}>{children}</Button>;
};
export { Preview };
